package com.codegen.main;

import com.codegen.service.CodeGeneratorManager;

/**
 * 代码生成器启动项 <br>
 * Created by zhh at 2017/09/20.
 * Modified by fenglibin@gmail.com at 2018/10/24
 */
public class CodeGeneratorMain {

    /**
     * table name support singer string table name with or without underline such "table","my_table" etc.<br>
     * other style not tested
     */
    private static final String[] TABLE = {"user_card_appeal"};
//    private static final String[] TABLE = {"t_activity","t_ad","t_ad_place","t_agent","t_agent_commission","t_business","t_business_level","t_business_login","t_business_shop","t_business_shop_code","t_business_user","t_class","t_distribution_set","t_goods","t_msg","t_notice","t_order","t_order_goods","t_report","t_salesman","t_salesman_commission","t_salesman_work","t_user","t_user_balance_log","t_user_pay_log","t_sms"};

    public static void main(String[] args) {
        CodeGeneratorManager cgm = new CodeGeneratorManager();
        cgm.genCode(TABLE);
        // cgm.genCode(TABLE,TABLE);
    }
}
